<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/5/28
 * Time: 19:01
 */
require_once "TopSdk.php";
$c = new TopClient;
$appkey = "23870173";
$appSecret = "7a216b47de34fbd713879f01aa967706";
$c->appkey = $appkey;
$c->secretKey = $appSecret;
$req = new ItemcatsGetRequest;
//$req->setCids("124354002");
$req->setDatetime("2017-05-27 00:00:00");
$req->setFields("cid,parent_cid,name,is_parent");

$req->setParentCid("122682001");
$resp = $c->execute($req);



var_export($resp);